package com.kongmou.springDataJpaAdvanced.dao.impl;

import com.kongmou.springDataJpaAdvanced.dao.BaseDaoRepository;
import com.kongmou.springDataJpaAdvanced.domain.Role;

public interface RoleRepository extends BaseDaoRepository<Role, String> {


    Role findByName(String name);

    Role findByNameLike(String name);

}
